package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 新建订单对象 sys_business_info
 *
 * @author ruoyi
 * @date 2021-09-15
 */
@ApiModel
public class SysBusinessInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投保单下载表的id */
    @ApiModelProperty(value = "投保单下载表的id")
    @Excel(name = "投保单下载表的id")
    private Long insuranceDetailsId;

    /** 投保周明细表下载表的id */
    @ApiModelProperty(value = "投保周明细表下载表的id")
    @Excel(name = "投保周明细表下载表的id")
    private Long insuranceweekDetailsId;

    /** 状态（0正常 1停用） */
    @ApiModelProperty(value = "状态")
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 赔偿限额（带出保额的15%） */
    @ApiModelProperty(value = "赔偿限额（带出保额的15%）")
    @Excel(name = "赔偿限额", readConverterExp = "带=出保额的15%")
    private String compensationLimit;

    /** 保险费（根据方案带出） */
    @ApiModelProperty(value = "保险费（根据方案带出）")
    @Excel(name = "保险费", readConverterExp = "根=据方案带出")
    private BigDecimal insurancePremium;

    /** 投保方案（方案一、二） */
    @ApiModelProperty(value = "投保方案（方案一、二）")
    @Excel(name = "投保方案", readConverterExp = "方=案一、二")
    private String insuranceScheme;

    /** 商业险起保日期 */
    @Excel(name = "商业险起保日期")
    @ApiModelProperty(value = "商业险起保日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date insuranceStartdate;

    /** 保额（新车发票或车损险保险金额） */
    @ApiModelProperty(value = "保额（新车发票或车损险保险金额）")
    @Excel(name = "保额", readConverterExp = "新=车发票或车损险保险金额")
    private String insuredAmount;

    /** 车辆损失险保单号 */
    @ApiModelProperty(value = "车辆损失险保单号")
    @Excel(name = "车辆损失险保单号")
    private String lossPolicy;

    /** 车险承保公司 */
    @ApiModelProperty(value = "车险承保公司")
    @Excel(name = "车险承保公司")
    private String insuranceCarriers;

    /** 车架号（字母默认大写） */
    @ApiModelProperty(value = "车架号（字母默认大写）")
    @Excel(name = "车架号", readConverterExp = "字=母默认大写")
    private String vinNo;

    /** 车牌号（字母默认大写）或 发动机号（字母默认大写） */
    @ApiModelProperty(value = "车牌号（字母默认大写）")
    @Excel(name = "车牌号", readConverterExp = "字=母默认大写")
    private String carNumber;

    /** 手机号 */
    @ApiModelProperty(value = "手机号")
    @Excel(name = "手机号")
    private String iphone;

    /** 服务权益人姓名（选填：如与车主不一致） */
    @ApiModelProperty(value = "服务权益人姓名（选填：如与车主不一致）")
    @Excel(name = "服务权益人姓名", readConverterExp = "选=填：如与车主不一致")
    private String serviceStakeholders;

    /** 身份证号 */
    @ApiModelProperty(value = "身份证号")
    @Excel(name = "身份证号")
    private String idCard;

    /** 车主姓名 */
    @ApiModelProperty(value = "车主姓名")
    @Excel(name = "车主姓名")
    private String carName;

    /** 品牌型号 */
    @ApiModelProperty(value = "品牌型号")
    @Excel(name = "品牌型号")
    private String brandModel;

    /** 车辆品牌 */
    @ApiModelProperty(value = "车辆品牌")
    @Excel(name = "车辆品牌")
    private String carBrand;

    /** 业务员姓名 */
    @ApiModelProperty(value = "业务员姓名")
    @Excel(name = "业务员姓名")
    private String saleName;

    /** 车辆组别 新车/旧车 */
    @ApiModelProperty(value = "车辆组别 新车/旧车")
    @Excel(name = "车辆组别 新车/旧车")
    private String carType;

    /** 车辆组别名称 燃油/混动/纯电 */
    @ApiModelProperty(value = "车辆组别名称 燃油/混动/纯电")
    @Excel(name = "车辆组别名称 燃油/混动/纯电")
    private String carTypeName;

    /** 是否点击协议 0未 1是 */
    @ApiModelProperty(value = "是否点击协议 0未 1是")
    @Excel(name = "是否点击协议 0未 1是")
    private String agreement;

    /** 服务合同号 */
    @ApiModelProperty(value = "服务合同号")
    @Excel(name = "服务合同号")
    private String serviceContractNo;

    /** 下单日期 */
    @ApiModelProperty(value = "下单日期")
    @Excel(name = "下单日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderTime;

    /** 订单号 */
    @ApiModelProperty(value = "订单号")
    @Excel(name = "订单号")
    private String orderId;

    @ApiModelProperty(value = "机构编号")
    private String organCode;

    /** 经销店名称 */
    @ApiModelProperty(value = "经销店名称")
    private String dealerName;

    /** ID */
    @ApiModelProperty(value = "id")
    private Long id;

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCompensationLimit(String compensationLimit)
    {
        this.compensationLimit = compensationLimit;
    }

    public String getCompensationLimit()
    {
        return compensationLimit;
    }
    public void setInsurancePremium(BigDecimal insurancePremium)
    {
        this.insurancePremium = insurancePremium;
    }

    public BigDecimal getInsurancePremium()
    {
        return insurancePremium;
    }
    public void setInsuranceScheme(String insuranceScheme)
    {
        this.insuranceScheme = insuranceScheme;
    }

    public String getInsuranceScheme()
    {
        return insuranceScheme;
    }
    public void setInsuranceStartdate(Date insuranceStartdate)
    {
        this.insuranceStartdate = insuranceStartdate;
    }

    public Date getInsuranceStartdate()
    {
        return insuranceStartdate;
    }
    public void setInsuredAmount(String insuredAmount)
    {
        this.insuredAmount = insuredAmount;
    }

    public String getInsuredAmount()
    {
        return insuredAmount;
    }
    public void setLossPolicy(String lossPolicy)
    {
        this.lossPolicy = lossPolicy;
    }

    public String getLossPolicy()
    {
        return lossPolicy;
    }
    public void setInsuranceCarriers(String insuranceCarriers)
    {
        this.insuranceCarriers = insuranceCarriers;
    }

    public String getInsuranceCarriers()
    {
        return insuranceCarriers;
    }

    public void setVinNo(String vinNo)
    {
        this.vinNo = vinNo;
    }

    public String getVinNo()
    {
        return vinNo;
    }
    public void setCarNumber(String carNumber)
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber()
    {
        return carNumber;
    }
    public void setIphone(String iphone)
    {
        this.iphone = iphone;
    }

    public String getIphone()
    {
        return iphone;
    }
    public void setServiceStakeholders(String serviceStakeholders)
    {
        this.serviceStakeholders = serviceStakeholders;
    }

    public String getServiceStakeholders()
    {
        return serviceStakeholders;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setCarName(String carName)
    {
        this.carName = carName;
    }

    public String getCarName()
    {
        return carName;
    }
    public void setBrandModel(String brandModel)
    {
        this.brandModel = brandModel;
    }

    public String getBrandModel()
    {
        return brandModel;
    }
    public void setCarBrand(String carBrand)
    {
        this.carBrand = carBrand;
    }

    public String getCarBrand()
    {
        return carBrand;
    }
    public void setSaleName(String saleName)
    {
        this.saleName = saleName;
    }

    public String getSaleName()
    {
        return saleName;
    }
    public void setCarType(String carType)
    {
        this.carType = carType;
    }

    public String getCarType()
    {
        return carType;
    }
    public void setServiceContractNo(String serviceContractNo)
    {
        this.serviceContractNo = serviceContractNo;
    }

    public String getServiceContractNo()
    {
        return serviceContractNo;
    }
    public void setOrderTime(Date orderTime)
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime()
    {
        return orderTime;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public Long getInsuranceDetailsId() {
        return insuranceDetailsId;
    }

    public void setInsuranceDetailsId(Long insuranceDetailsId) {
        this.insuranceDetailsId = insuranceDetailsId;
    }

    public Long getInsuranceweekDetailsId() {
        return insuranceweekDetailsId;
    }

    public void setInsuranceweekDetailsId(Long insuranceweekDetailsId) {
        this.insuranceweekDetailsId = insuranceweekDetailsId;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getAgreement() {
        return agreement;
    }

    public void setAgreement(String agreement) {
        this.agreement = agreement;
    }

    @Override
    public String toString() {
        return "SysBusinessInfo{" +
                "insuranceDetailsId=" + insuranceDetailsId +
                ", insuranceweekDetailsId=" + insuranceweekDetailsId +
                ", status='" + status + '\'' +
                ", compensationLimit='" + compensationLimit + '\'' +
                ", insurancePremium=" + insurancePremium +
                ", insuranceScheme='" + insuranceScheme + '\'' +
                ", insuranceStartdate=" + insuranceStartdate +
                ", insuredAmount='" + insuredAmount + '\'' +
                ", lossPolicy='" + lossPolicy + '\'' +
                ", insuranceCarriers='" + insuranceCarriers + '\'' +
                ", vinNo='" + vinNo + '\'' +
                ", carNumber='" + carNumber + '\'' +
                ", iphone='" + iphone + '\'' +
                ", serviceStakeholders='" + serviceStakeholders + '\'' +
                ", idCard='" + idCard + '\'' +
                ", carName='" + carName + '\'' +
                ", brandModel='" + brandModel + '\'' +
                ", carBrand='" + carBrand + '\'' +
                ", saleName='" + saleName + '\'' +
                ", carType='" + carType + '\'' +
                ", carTypeName='" + carTypeName + '\'' +
                ", agreement='" + agreement + '\'' +
                ", serviceContractNo='" + serviceContractNo + '\'' +
                ", orderTime=" + orderTime +
                ", orderId='" + orderId + '\'' +
                ", organCode='" + organCode + '\'' +
                ", dealerName='" + dealerName + '\'' +
                ", id=" + id +
                '}';
    }
}
